
//
//  ByDoctorMessageVC.m
//  jinpuyiyuan_ios
//
//  Created by mc on 2017/12/4.
//  Copyright © 2017年 mc. All rights reserved.
//

#import "ByDoctorMessageVC.h"
#import "ByLoginVC.h"
@interface ByDoctorMessageVC ()

@end

@implementation ByDoctorMessageVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"消息";
    [self addBYItemviews:@[@"退出"] mode:ByNavigationItemModeText position:ByNavigationItemPositionModeRight];
    // Do any additional setup after loading the view.
}

- (void)rightItemsAction:(NSInteger)rightIndex{
    [ByCacheUser setUserInfo:nil];
    UIWindow *window = [UIApplication sharedApplication].keyWindow;
    window.rootViewController = [[ByLoginVC alloc] init];

}




@end
